package com.shop.cloud.model.response;

import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetGoodsListResponse {
	
    @JsonProperty("id")
    @ApiModelProperty(value = "id", example = "", required = true)
    private Long id;
    
    @JsonProperty("category")
    @ApiModelProperty(value = "商品分类名称", example = "", required = true)
    private String category;
    
    @JsonProperty("name")
    @ApiModelProperty(value = "商品名称", example = "", required = true)
    private String name;
    
    @JsonProperty("pic")
    @ApiModelProperty(value = "商品图片", example = "", required = true)
    private String pic;
    
    @JsonProperty("price")
    @ApiModelProperty(value = "商品价格（带上单位）", example = "", required = true)
    private String price;
    
    @JsonProperty("brand")
    @ApiModelProperty(value = "商品品牌", example = "", required = true)
    private String brand;
    
    @JsonProperty("statusStr")
    @ApiModelProperty(value = "状态", example = "", required = true)
    private String statusStr;
    
    @JsonProperty("mallName")
    @ApiModelProperty(value = "商城专区名称", example = "", required = true)
    private String mallName;
    
    @JsonProperty("isSpecialPrice")
    @ApiModelProperty(value = "是否特价商品（是、否）", example = "", required = true)
    private String isSpecialPrice;
    
	@JsonProperty("isOpenDistribution")
    @ApiModelProperty(value = "是否开启了分销（是、否）", example = "", required = true)
    private String isOpenDistribution;
    
    @JsonProperty("inventory")
    @ApiModelProperty(value = "商品库存总量", example = "", required = true)
    private String inventory;
    
    @JsonProperty("remainInventory")
    @ApiModelProperty(value = "商品剩余库存", example = "", required = true)
    private String remainInventory;
    
    @JsonProperty("roleName")
    @ApiModelProperty(value = "所属店铺", example = "", required = true)
    private String roleName;
    
    @JsonProperty("salesVolumn")
    @ApiModelProperty(value = "总销量", example = "", required = true)
    private String salesVolumn;
    
    @JsonProperty("createTime")
    @ApiModelProperty(value = "发布时间", example = "", required = true)
    private Timestamp createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatusStr() {
		return statusStr;
	}

	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getMallName() {
		return mallName;
	}

	public void setMallName(String mallName) {
		this.mallName = mallName;
	}

	public String getIsOpenDistribution() {
		return isOpenDistribution;
	}

	public void setIsOpenDistribution(String isOpenDistribution) {
		this.isOpenDistribution = isOpenDistribution;
	}

	public String getRemainInventory() {
		return remainInventory;
	}

	public void setRemainInventory(String remainInventory) {
		this.remainInventory = remainInventory;
	}

	public String getInventory() {
		return inventory;
	}

	public void setInventory(String inventory) {
		this.inventory = inventory;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getSalesVolumn() {
		return salesVolumn;
	}

	public void setSalesVolumn(String salesVolumn) {
		this.salesVolumn = salesVolumn;
	}
	
    public String getIsSpecialPrice() {
		return isSpecialPrice;
	}

	public void setIsSpecialPrice(String isSpecialPrice) {
		this.isSpecialPrice = isSpecialPrice;
	}

}
